package com.jack.code.auto.domain.request;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by LiJiakui on 17/3/3.
 */
public class CreateCodeRequestModel {
    /**
     * 描述
     */
    private String description;

    /**
     * 类名
     */
    private String objectName;

    /**
     * 包名
     */
    private String packageName;

    /**
     * mapper读包路径
     */
    private String readPackageName;

    /**
     * mapper写包路径
     */
    private String writePackageName;

    /**
     * 首字母小写
     */
    private String objectNameLower;

    /**
     * 表前缀
     */
    private String tableTop;

    /**
     * 属性名
     */
    private String[] attrNames;

    /**
     * 属性类型
     */
    private String[] attrTypes;

    /**
     * 字段长度
     */
    private Integer[] attrLengths;

    /**
     * 属性说明
     */
    private String[] attrRemarks;

    /**
     * 是否前台录入
     */
    private Integer[] isInputs;

    /**
     * 默认值
     */
    private String[] defaultVals;

    /**
     * 当前时间
     */
    private Date nowDate;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 表字段
     */
    private List<TableColumn> columns = new ArrayList<>();

    /**
     * WEB包名
     */
    private String webPackageName;

    /**
     * 实体类字段
     */
    private List<ModelColumn> modelColumns = new ArrayList<>();

    /**
     * 请求链接地址
     */
    public String httpUrlName;

    /**
     * 请求需要获取的值
     */
    public String httpFields;

    /**
     * tr id
     */
    private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getHttpFields() {
        return httpFields;
    }

    public void setHttpFields(String httpFields) {
        this.httpFields = httpFields;
    }

    public String getHttpUrlName() {
        return httpUrlName;
    }

    public void setHttpUrlName(String httpUrlName) {
        this.httpUrlName = httpUrlName;
    }

    public String getWebPackageName() {
        return webPackageName;
    }

    public void setWebPackageName(String webPackageName) {
        this.webPackageName = webPackageName;
    }

    public List<ModelColumn> getModelColumns() {
        return modelColumns;
    }

    public void setModelColumns(List<ModelColumn> modelColumns) {
        this.modelColumns = modelColumns;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<TableColumn> getColumns() {
        return columns;
    }

    public void setColumns(List<TableColumn> columns) {
        this.columns = columns;
    }

    public Date getNowDate() {
        return nowDate;
    }

    public void setNowDate(Date nowDate) {
        this.nowDate = nowDate;
    }

    public String getReadPackageName() {
        return readPackageName;
    }

    public void setReadPackageName(String readPackageName) {
        this.readPackageName = readPackageName;
    }

    public String getWritePackageName() {
        return writePackageName;
    }

    public void setWritePackageName(String writePackageName) {
        this.writePackageName = writePackageName;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getObjectNameLower() {
        return objectNameLower;
    }

    public void setObjectNameLower(String objectNameLower) {
        this.objectNameLower = objectNameLower;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getTableTop() {
        return tableTop;
    }

    public void setTableTop(String tableTop) {
        this.tableTop = tableTop;
    }

    public String[] getAttrNames() {
        return attrNames;
    }

    public void setAttrNames(String[] attrNames) {
        this.attrNames = attrNames;
    }

    public String[] getAttrTypes() {
        return attrTypes;
    }

    public void setAttrTypes(String[] attrTypes) {
        this.attrTypes = attrTypes;
    }

    public Integer[] getAttrLengths() {
        return attrLengths;
    }

    public void setAttrLengths(Integer[] attrLengths) {
        this.attrLengths = attrLengths;
    }

    public String[] getAttrRemarks() {
        return attrRemarks;
    }

    public void setAttrRemarks(String[] attrRemarks) {
        this.attrRemarks = attrRemarks;
    }

    public Integer[] getIsInputs() {
        return isInputs;
    }

    public void setIsInputs(Integer[] isInputs) {
        this.isInputs = isInputs;
    }

    public String[] getDefaultVals() {
        return defaultVals;
    }

    public void setDefaultVals(String[] defaultVals) {
        this.defaultVals = defaultVals;
    }
}
